home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / nice / RCS / nice.man,v < prev    next >
Encoding:
Text File  |  1991-03-18  |  3.5 KB  |  191 lines

  1. head     1.3;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    stolcke:1.3; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.3
  10. date     91.03.18.14.29.53;  author stolcke;  state Exp;
  11. branches ;
  12. next     1.2;
  13.  
  14. 1.2
  15. date     91.03.17.23.08.39;  author stolcke;  state Exp;
  16. branches ;
  17. next     1.1;
  18.  
  19. 1.1
  20. date     91.03.17.22.13.42;  author stolcke;  state Exp;
  21. branches ;
  22. next     ;
  23.  
  24.  
  25. desc
  26. @@
  27.  
  28.  
  29. 1.3
  30. log
  31. @*** empty log message ***
  32. @
  33. text
  34. @.\" Copyright (c) 1980 Regents of the University of California.
  35. .\" All rights reserved.  The Berkeley software License Agreement
  36. .\" specifies the terms and conditions for redistribution.
  37. .\"
  38. .\"    @@(#)nice.1    6.2 (Berkeley) 5/8/86
  39. .\"
  40. .TH NICE 1 "May 8, 1986"
  41. .UC 4
  42. .SH NAME
  43. nice, nohup \- run a command at low priority (\fIsh\fR only)
  44. .SH SYNOPSIS
  45. .B nice
  46. [
  47. .BI \- number
  48. ]
  49. command [ arguments ]
  50. .PP
  51. .B nohup
  52. command [ arguments ]
  53. .SH DESCRIPTION
  54. .I Nice
  55. executes
  56. .I command
  57. with low scheduling priority.
  58. If the
  59. .I number
  60. argument is present, the priority is incremented (higher
  61. numbers mean lower priorities) by that amount up to a limit of 20.
  62. The default
  63. .I number
  64. is 10.
  65. .PP
  66. The super-user may run commands with
  67. priority higher than normal
  68. by using a negative priority,
  69. e.g. `\-\-10'.
  70. .PP
  71. .I Nohup
  72. executes
  73. .I command
  74. immune to hangup and terminate signals from the controlling terminal.
  75. The priority is incremented by 5.
  76. .I Nohup
  77. should be invoked from the shell with `&' in order to 
  78. prevent it from responding to interrupts by or
  79. stealing the input from
  80. the next person who logs in on the same terminal.
  81. .SH SPRITE
  82. .I Nice
  83. on Sprite maps Unix priorities in the range -20 to 20 into one
  84. of the five Sprite priorities. The mapping is done as follows:
  85. .br
  86. -20 \(em -20 -> -20
  87. .br
  88. -19 \(em -10 -> -10
  89. .br
  90.  -9 \(em   9 ->  0
  91. .br
  92.  10 \(em  19 -> 10
  93. .br
  94.  20 \(em  20 -> 20
  95. .br
  96. .SH FILES
  97. nohup.out    standard output and standard error file under
  98. .I nohup
  99. .SH "SEE ALSO"
  100. csh(1), setpriority(2), renice(8)
  101. .SH DIAGNOSTICS
  102. .I Nice
  103. returns the exit status of the subject command.
  104. .SH BUGS
  105. .I Nice
  106. and
  107. .I nohup
  108. are particular to
  109. .IR sh (1).
  110. If you use
  111. .IR csh (1),
  112. then commands executed with ``&'' are automatically immune to hangup
  113. signals while in the background.
  114. There is a builtin command
  115. .I nohup
  116. which provides immunity from terminate, but it does not
  117. redirect output to
  118. .I nohup.out.
  119. .PP
  120. .I Nice
  121. is built into
  122. .IR csh (1)
  123. with a slightly different syntax than described here.  The form
  124. ``nice +10'' nices to positive nice, and ``nice \-10'' can be used
  125. by the super-user to give a process more of the processor.
  126. @
  127.  
  128.  
  129. 1.2
  130. log
  131. @*** empty log message ***
  132. @
  133. text
  134. @d10 1
  135. a10 1
  136. nice \- run a command at low priority (\fIsh\fR only)
  137. d17 3
  138. d37 11
  139. d63 3
  140. d73 3
  141. a75 1
  142. is particular to
  143. d77 9
  144. @
  145.  
  146.  
  147. 1.1
  148. log
  149. @Initial revision
  150. @
  151. text
  152. @d10 1
  153. a10 1
  154. nice, nohup \- run a command at low priority (\fIsh\fR only)
  155. a16 3
  156. .PP
  157. .B nohup
  158. command [ arguments ]
  159. d34 15
  160. a48 14
  161. .PP
  162. .I Nohup
  163. executes
  164. .I command
  165. immune to hangup and terminate signals from the controlling terminal.
  166. The priority is incremented by 5.
  167. .I Nohup
  168. should be invoked from the shell with `&' in order to 
  169. prevent it from responding to interrupts by or
  170. stealing the input from
  171. the next person who logs in on the same terminal.
  172. .SH FILES
  173. nohup.out    standard output and standard error file under
  174. .I nohup
  175. d56 1
  176. a56 3
  177. and
  178. .I nohup
  179. are particular to
  180. a57 9
  181. If you use
  182. .IR csh (1),
  183. then commands executed with ``&'' are automatically immune to hangup
  184. signals while in the background.
  185. There is a builtin command
  186. .I nohup
  187. which provides immunity from terminate, but it does not
  188. redirect output to
  189. .I nohup.out.
  190. @
  191.